/**
 * 2008 Sylvain Dudoit (All rights reserved)
 *
 * $Id$
 */
package org.bankabeule;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Operation</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.bankabeule.Operation#getId <em>Id</em>}</li>
 *   <li>{@link org.bankabeule.Operation#getType <em>Type</em>}</li>
 *   <li>{@link org.bankabeule.Operation#getValue <em>Value</em>}</li>
 *   <li>{@link org.bankabeule.Operation#getDate <em>Date</em>}</li>
 *   <li>{@link org.bankabeule.Operation#getTags <em>Tags</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.bankabeule.BankabeulePackage#getOperation()
 * @model
 * @generated
 */
public interface Operation extends Element {
	/**
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id</em>' attribute.
	 * @see #setId(String)
	 * @see org.bankabeule.BankabeulePackage#getOperation_Id()
	 * @model
	 * @generated
	 */
	String getId();

	/**
	 * Sets the value of the '{@link org.bankabeule.Operation#getId <em>Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id</em>' attribute.
	 * @see #getId()
	 * @generated
	 */
	void setId(String value);

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * The default value is <code>"0"</code>.
	 * The literals are from the enumeration {@link org.bankabeule.OperationTypeEnum}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see org.bankabeule.OperationTypeEnum
	 * @see #setType(OperationTypeEnum)
	 * @see org.bankabeule.BankabeulePackage#getOperation_Type()
	 * @model default="0"
	 * @generated
	 */
	OperationTypeEnum getType();

	/**
	 * Sets the value of the '{@link org.bankabeule.Operation#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see org.bankabeule.OperationTypeEnum
	 * @see #getType()
	 * @generated
	 */
	void setType(OperationTypeEnum value);

	/**
	 * Returns the value of the '<em><b>Value</b></em>' attribute.
	 * The default value is <code>"0.00"</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Value</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Value</em>' attribute.
	 * @see #setValue(double)
	 * @see org.bankabeule.BankabeulePackage#getOperation_Value()
	 * @model default="0.00" required="true"
	 * @generated
	 */
	double getValue();

	/**
	 * Sets the value of the '{@link org.bankabeule.Operation#getValue <em>Value</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Value</em>' attribute.
	 * @see #getValue()
	 * @generated
	 */
	void setValue(double value);

	/**
	 * Returns the value of the '<em><b>Date</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Date</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Date</em>' containment reference.
	 * @see #setDate(Date)
	 * @see org.bankabeule.BankabeulePackage#getOperation_Date()
	 * @model containment="true" required="true"
	 * @generated
	 */
	Date getDate();

	/**
	 * Sets the value of the '{@link org.bankabeule.Operation#getDate <em>Date</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Date</em>' containment reference.
	 * @see #getDate()
	 * @generated
	 */
	void setDate(Date value);

	/**
	 * Returns the value of the '<em><b>Tags</b></em>' reference list.
	 * The list contents are of type {@link org.bankabeule.Tag}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Tags</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Tags</em>' reference list.
	 * @see org.bankabeule.BankabeulePackage#getOperation_Tags()
	 * @model
	 * @generated
	 */
	EList<Tag> getTags();

} // Operation
